﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using GenerateDataBaseLibrary;
using System.Diagnostics;

namespace GenerateDataBaseProjectTest
{
    [TestClass]
    public class UnitTest1
    {
        [TestMethod]
        public void TestMethod1()
        {
            DataSetToDataBaseMapper mapper = new DataSetToDataBaseMapper(
               "BARKOUS",
               "DataBase",
               new SqlCredentials());
            DataSet1 ds = new DataSet1();
            mapper.GenerateFrom(ds);
            Debug.Print("Ok the data base is created");
        }
    }
}
